package com.dataseek.iot.device.manager.vo;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author cc
 * @Title: 设备固件更新Vo
 * @Description: 设备固件更新Vo
 * @date 2021/10/39:21 上午
 * @since 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class VersionUpgradeVo implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long timestamp;

    private String url;

    private String version;

    private String sign;

    private String signMethod;

    private String firmwareId;

    private Integer size;

    private JSONObject parameters;

    @Override
    public String toString() {
        return "DeviceUpgradeVo{" +
                "timestamp:" + timestamp +
                ", url:'" + url + '\'' +
                ", version:'" + version + '\'' +
                ", sign:'" + sign + '\'' +
                ", signMethod:'" + signMethod + '\'' +
                ", firmwareId:'" + firmwareId + '\'' +
                ", size:" + size +
                ", parameters:" + parameters +
                '}';
    }
}
